package com.fighYo.trace.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fighYo.trace.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fighYo.trace.entity.query.UserQuery;
import com.fighYo.trace.entity.vo.UserVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fighYo
 * @since 2022-04-04
 */
public interface UserService extends IService<User> {

    User getUser(User user);

    IPage<UserVo> getUserPageList(Long cur, Long limit, UserQuery userQuery);

    UserVo getUserAndInfo(String id);
}
